package com.coolgor.coldot.entity.auth;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 本地用户实体类
 * 
 * @author CoolGor
 *
 */
public class Role implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1234245167672216327L;

	// 本地系统中角色的唯一标示roleID,数据库中自动增长
	@JsonProperty("role_id")
	private Long roleID;		
	// 角色名，唯一
	@JsonProperty("role_name")
	private String roleName;		
	// 父亲角色的ID
	@JsonProperty("parent_id")
	private Long parentID;	
	// 排序 权重
	@JsonProperty("priority")
	private String priority;		
	// 备注
	@JsonProperty("remark")
	private int remark;
	public Long getRoleID() {
		return roleID;
	}
	public void setRoleID(Long roleID) {
		this.roleID = roleID;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public Long getParentID() {
		return parentID;
	}
	public void setParentID(Long parentID) {
		this.parentID = parentID;
	}
	public String getPriority() {
		return priority;
	}
	public void setPriority(String priority) {
		this.priority = priority;
	}
	public int getRemark() {
		return remark;
	}
	public void setRemark(int remark) {
		this.remark = remark;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	@Override
	public String toString() {
		return "Role [roleID=" + roleID + ", roleName=" + roleName + ", parentID=" + parentID + ", priority=" + priority
				+ ", remark=" + remark + "]";
	}
	
	
}
